
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置ActivityDetail的AutoMapper
    /// </summary>
	internal static class ActivityDetailMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <ActivityDetail,ActivityDetailListDto>();
            configuration.CreateMap <ActivityDetailListDto,ActivityDetail>();

            configuration.CreateMap <ActivityDetailEditDto,ActivityDetail>();
            configuration.CreateMap <ActivityDetail,ActivityDetailEditDto>();

        }
	}
}
